package com.jml.责任链模式.企业分控系统.controller;

 import com.jml.责任链模式.企业分控系统.respon.handler.factory.DbHandler;
 import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class HandlerController {
    @Autowired
    private DbHandler bbHandler;

    @GetMapping("/getHandler")
    public void getHandler() {
        bbHandler.getFirstGatewayHandler().doService();
    }

}
